package io.seata.sample.service;
import java.math.BigDecimal;
/**
 * @Author: linKe
 * @Date: 2022/1/25 10:43
 * @FileName: AccountService
 * @version: 1.0
 * @Description: 描述
 */
public interface AccountService {

    /**
     * 扣减账户余额
     *
     * @param userId 用户id
     * @param money  金额
     */
    void decrease(Long userId, BigDecimal money);
}
